package org.activemonitoring.harvesters;

import org.activemonitoring.datastore.DataStore;
import org.activemonitoring.domain.Measure;
import org.aspectj.lang.JoinPoint;

public interface Harvester {

    public MeasureBuilder start(String moduleName, JoinPoint joinPoint);

    public MeasureBuilder start(String moduleName, String name);

    public void harvest(Measure measure);

    public void setDataStore(DataStore dataStore);

    public DataStore getDataStore();

}
